<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加板块</title>
<load href="__PUBLIC__/css/bootstrap.min.css" />
<import type='css' file="css.main" />
<load href="__PUBLIC__/js/jquery-1.9.1.min.js" />
<load href="__PUBLIC__/js/jquery-ui.min.js" />
<import type='js' file="js.main" />
<import type='js' file="js.setshowflag" />
<script type="text/javascript">
$(function(){
	$("select[name='tpl']").change(function(){
		var selectedIndex = $(this).get(0).selectedIndex;
		$(".thumbpreview:eq("+selectedIndex+")").show().siblings().hide();
	})
})
</script>
</head>

<body id="body">
<assign name='id' value="$Think.get.id" />
<div class="main-frame">
	<div class="position">华人码 > 添加板块</div>
	<div class="addobject">
		<div class="obj-form">
			<form name="form1" id="form1" action="{:U('plateaddinfo')}" method="post" class="form-inline">
				<ul>
					<li>
						<label class="fl tle">板块名称：</label>
						<span class="fl cnt">
						<input name="typename" class="form-control" placeholder="板块名称" style="width: 450px;"><em>*</em>
						</span>
					</li>
					<!--<li>-->
						<!--<label class="fl tle">所属分类：</label>-->
				    	<!--<span class="fl cnt">-->
					    	<!--<select name="pid" class="form-control" style="width:200px;">-->
					    		<!--<option value="0">/</option>-->
					    		<!--<volist name='resourcelist' id='v'>-->
									<!--<option value="{$v.id}" <if condition="$v['id'] eq $id">selected="selected"</if>>{$v['typename']}</option>-->
					    		<!--</volist>-->
					    	<!--</select>-->
				    	<!--</span>-->
					<!--</li>-->
					<!--<if condition="$Think.get.pid eq ''">-->
                    <!--<li>-->
						<!--<label class="fl tle">选择模板：</label>-->
				    	<!--<span class="fl cnt">-->
					    	<!--<select name="tpl" class="template form-control classtype" style="width:200px;">-->
					    		<!--<option value="resourcetpl1">模板一</option>-->
								<!--<option value="resourcetpl2">模板二</option>-->
								<!--<option value="resourcetpl3">模板三</option>-->
								<!--<option value="resourcetpl4">模板四</option>		-->
					    	<!--</select>-->
				    	<!--</span>-->
					<!--</li>-->
					<!--</if>-->
					<li>
						<label class="fl tle">排序：</label>
						<span class="fl cnt">
						<input name="sort" class="form-control" placeholder="排序" style="width: 60px;">
						</span>
					</li>
					<li class="submit">
						<label class="fl tle">&nbsp;</label>
						<span class="fl cnt"><input type="submit" value="添 加" class="submitbtn" /></span>
					</li>
				</ul>
			</form>
		</div>
		<div class="obj-previewimg">
			<!--<div class="rotation">-->
				<!--<div class="thumbpreview"><img src="__IMG__/resourcetpl/1.jpg" /></div>-->
				<!--<div class="thumbpreview"><img src="__IMG__/resourcetpl/2.jpg"/></div>-->
				<!--<div class="thumbpreview"><img src="__IMG__/resourcetpl/3.jpg" /></div>-->
				<!--<div class="thumbpreview"><img src="__IMG__/resourcetpl/4.jpg" /></div>-->
			<!--</div>-->
			<div class="instructions">
				<b>备注说明：</b><br>
				1、带有红色  “ * ” 项必填<br>
			</div>
		</div>
	</div>

</div>
</body>
</html>
